package com.etc.service;

import java.util.List;

import com.etc.entity.FU;
import com.etc.entity.FosterFamily;
import com.etc.tools.PageData;

public interface FosterFamilyService {
	// 根据主键编号查寄养家庭
	public FosterFamily getFosterFamilyById(int fid);
	// 根据主键编号查寄养家庭
	public List<FosterFamily> getFosterFamilyByfuid(int fuid);

	// 添加寄养家庭
	boolean addFosterFamily(FosterFamily fosterFamily);

	// 寄养家庭的模糊查询加分页
	public PageData<FU> getFosterFamilysByPage(int page, int pageSize, String content);
	// 寄养家庭的模糊查询加分页
	public PageData<FU> getFosterFamilysByPage1(int page, int pageSize, String content);

	// 根据主键编号删除寄养家庭
	public boolean delFosterFamily(int fid);

	// 修改寄养家庭
	public boolean updateFosterFamily(FosterFamily fosterFamily);
	
	//查询寄养家庭所有信息
	List<FU> selectAllFosterFamily();
}
